/**
 * Filename: YNAlbum.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/2/29 18:27
 */
package com.github.postsanf.yinian.bean;

import java.util.List;

public class HXMessage extends BaseBean {
    private String chat_type;
    private String chatID;
    private PayloadBean payload;
    private String from;
    private String to;
    private String type;
    private String msg_id;
    private long timestamp;

    public String getChat_type() {
        return chat_type;
    }

    public void setChat_type(String chat_type) {
        this.chat_type = chat_type;
    }

    public String getChatID() {
        return chatID;
    }

    public void setChatID(String chatID) {
        this.chatID = chatID;
    }

    public PayloadBean getPayload() {
        return payload;
    }

    public void setPayload(PayloadBean payload) {
        this.payload = payload;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public static class PayloadBean {
        private String ext;
        /**
         * msg :
         * filename :
         * lng :
         * length :
         * secret :
         * type : txt
         * addr :
         * url :
         * lat :
         */

        private List<BodiesBean> bodies;

        public String getExt() {
            return ext;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public List<BodiesBean> getBodies() {
            return bodies;
        }

        public void setBodies(List<BodiesBean> bodies) {
            this.bodies = bodies;
        }

        public static class BodiesBean {
            private String msg;
            private String filename;
            private String lng;
            private String length;
            private String secret;
            private String type;
            private String addr;
            private String url;
            private String lat;

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public String getFilename() {
                return filename;
            }

            public void setFilename(String filename) {
                this.filename = filename;
            }

            public String getLng() {
                return lng;
            }

            public void setLng(String lng) {
                this.lng = lng;
            }

            public String getLength() {
                return length;
            }

            public void setLength(String length) {
                this.length = length;
            }

            public String getSecret() {
                return secret;
            }

            public void setSecret(String secret) {
                this.secret = secret;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAddr() {
                return addr;
            }

            public void setAddr(String addr) {
                this.addr = addr;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getLat() {
                return lat;
            }

            public void setLat(String lat) {
                this.lat = lat;
            }
        }
    }
}
